package com.link.base.base.village.controller;


import com.link.base.base.village.model.Village;
import com.link.base.base.village.service.VillageService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author unknown
 * @date unknown
 */
@Controller
@RequestMapping("/link/village")
public class VillageController extends BasicController<Village> {

    @Resource
    private VillageService villageService;

    @Override
    public BasicService<Village> getBasicService() throws Exception {
        return villageService;
    }
}
